package com.whcstar.springcloud.eurekaconsumerfeign.service;

import org.springframework.cloud.netflix.feign.FeignClient;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestParam;

@FeignClient("eureka-service-provide")
public interface OperateService {
    @PostMapping("/operate/add")
    Integer add(@RequestParam("a") Integer a, @RequestParam("b") Integer b);

}
